#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "bplustree.h"

#include <QMainWindow>
#include <QPaintEngine>
#include <QPainter>
#include <QPixmap>
#include <QPicture>
#include <QDebug>
#include <QtGui>
#include <QTimer>
namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
int xc,yc;
Bplustree* tre;
QTimer* btnmove;
    QPushButton* btn;

private slots:
    void on_pushButton_clicked();
void paintEvent(QPaintEvent *);


void on_pushButton_2_clicked();

void on_pushButton_5_clicked();

void on_pushButton_4_clicked();

void on_pushButton_6_clicked();

void on_pushButton_7_clicked();

void on_pushButton_3_clicked();

private:
    Ui::MainWindow *ui;

};

#endif // MAINWINDOW_H
